<div class="breadcrumb">
			<li>
			<?php echo $this->Html->link("Exámenes", array('controller' => 'ciuexams', 'action' => 'index')); ?>
			</li>
			<li class="divider">|</li>
			<li>
			<?php echo "Aspirantes" ?>
			</li>
		</div>
	
<!-- form -->
<div class="ciuusers form">	
	<?php echo $this->Form->create('Ciuuser', array('action'=>'indexapplicant'));?>
	<fieldset>
	<?php
		echo $this->Form->input('document');
	?>
	</fieldset>
	<?php echo $this->Form->end(__('Submit', true));?>
</div>

	
	<table class="zebra" cellpadding="0" cellspacing="0">
	<thead>
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('ciuplan_id');?></th>
                        <th><?php echo $this->Paginator->sort('ciutimetable_id');?></th>
			<th><?php echo $this->Paginator->sort('document');?></th>
			<th><?php echo $this->Paginator->sort('first_names');?></th>
			<th><?php echo $this->Paginator->sort('last_names');?></th>
			<th><?php echo $this->Paginator->sort('email');?></th>
                        <th><?php echo $this->Paginator->sort('ciuadmisionstate_id');?></th>
			<th><?php echo $this->Paginator->sort('ciuuserstate_id');?></th>
			
	</tr>
	</thead>
	<?php
	$i = 0;
	foreach ($ciuusers as $ciuuser):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $ciuuser['Ciuuser']['id']; ?>&nbsp;</td>
		
		<td><?php echo $ciuuser['Ciuplan']['name']; ?>&nbsp;</td>
                <td><?php echo $ciuuser['Ciutimetable']['name']; ?>&nbsp;</td>
		<td><?php echo $ciuuser['Ciuuser']['document']; ?>&nbsp;</td>
		
		<td><?php echo $ciuuser['Ciuuser']['first_names']; ?>&nbsp;</td>
		<td><?php echo $ciuuser['Ciuuser']['last_names']; ?>&nbsp;</td>
		
		<td><?php echo $ciuuser['Ciuuser']['email']; ?>&nbsp;</td>
        <td><?php echo $ciuuser['Ciuadmisionstate']['name']; ?>&nbsp;</td>
		<td><?php echo $ciuuser['Ciuuserstate']['name']; ?>&nbsp;</td>
		

	</tr>
<?php endforeach; ?>
	</table>
	<div class="paginatorcounter">
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
